package com.atguigu.eduorder.feign;

import com.atguigu.common.ordervo.UcenterMemberOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Author panghl
 * @Date 2021/2/21 13:07
 * @Version 1.0
 * @Description 服务调用
 **/
@Component
@FeignClient("service-ucenter")
public interface UcenterClient {

    @PostMapping(value = "/educenter/member/getUserInfoOrder/{id}")
    public UcenterMemberOrder getUserInfoOrder(@PathVariable("id") String id);

}
